import Vue from 'vue'
import App from './App.vue'
import iView from 'iView'
import 'iView/dist/styles/iView.css'
import VueRouter from 'vue-router'
import {routes} from './router'
import axios from 'axios'
import VueAxios from 'vue-axios'

Vue.use(iView)
Vue.use(VueRouter)
Vue.use(VueAxios,axios)

const router =new VueRouter({
  routes: routes
})

new Vue({
  el: '#app',
  router,
  render: h => h(App)
})
